home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 October / PCWorld_2003-10_cd.bin / Software / Vyzkuste / mb / Mbm5330.exe / {app} / misc / readme.txt < prev    next >
Text File  |  2003-08-15  |  3KB  |  109 lines

  1. ****************************************************************
  2. wm_close.exe
  3. ****************************************************************
  4.  
  5. tool to close any program as long as it responds to the wm_close API call,
  6. to use it call it with the window class or window name as parameter, it will
  7. 1st try to locate a window wich has the given parameter as class name, if that
  8. fails it will try to locate a window with the given parameter as name.
  9.  
  10.  
  11. ****************************************************************
  12. mbm5msg.exe
  13. ****************************************************************
  14.  
  15. tool to send a message to mbm, starting it with one of the switches below will
  16. make it send that message to mbm.
  17.  
  18. 0  WM_WRITELH
  19. 1  WM_OPENSETTINGS
  20. 2  WM_OPENDASHBOARD
  21. 3  WM_OPENHELP
  22. 4  WM_CLOSEMBM
  23. 5  WM_CLOSEOSD
  24. 6  WM_OPENOSD
  25. 7  WM_DUMPISA
  26. 8  WM_DUMPSMB
  27. 9  WM_DUMPPCI
  28. 10 WM_VIADUMP
  29.  
  30.  
  31. ****************************************************************
  32. mbmstarter.dll
  33. ****************************************************************
  34.  
  35. This may ONLY be distributed and used by programs that are fully FREEWARE,
  36. you are NOT ALLOWED to use this DLL with shareware, payware or commercial programs.
  37.  
  38. now that the legal part is out of the way, with this dll you can launch
  39. the mbm.dll without using mbm, of course you must have configured mbm correctly
  40. if you want this to work correctly.  Once the mbm.dll is running you freeware
  41. program can access the sharedmemory like normal
  42.  
  43.  
  44. the delphi code to start the dll is like this:
  45.  
  46. type
  47.   TStartDLL = function : Integer; stdcall;
  48.   TStopDLL  = function : Integer; stdcall;
  49.  
  50. var
  51.   Form1: TForm1;
  52.   CStartDLL : TStartDLL;
  53.   CStopDLL  : TStopDLL;
  54.   DLLHandle : THandle;
  55.  
  56. implementation
  57.  
  58. {$R *.DFM}
  59.  
  60. procedure TForm1.Button1Click(Sender: TObject);
  61. var
  62.   X       : Integer;
  63. begin
  64.   if DLLHandle=0 then
  65.   begin
  66.     DLLHandle:=LoadLibrary(PChar(ExtractFilePath(ParamStr(0))+'MBMStarter.dll'));
  67.     if DLLHandle <> 0 then
  68.     begin
  69.       @CStartDLL:=GetProcAddress(DLLHandle, 'Start');
  70.       X:=CStartDLL;
  71.       if X <> 1 then Showmessage('Error Starting MBM.DLL, Error : '+IntToStr(X))
  72.                 else Showmessage('MBM.DLL Started') ;
  73.     end
  74.     else Showmessage('Error Loading StarterDLL');
  75.   end;
  76. end;
  77.  
  78. procedure TForm1.Button2Click(Sender: TObject);
  79. begin
  80.   if DLLHandle<>0 then
  81.   begin
  82.     @CStopDLL:=GetProcAddress(DLLHandle, 'Stop');
  83.     CStopDLL;
  84.     FreeLibrary(DLLHandle);
  85.     DLLHandle:=0;
  86.     Showmessage('Starter DLL unloaded');
  87.   end;
  88. end;
  89.  
  90. the mbm5starter.dll will always created a sub dir called dll and copy the mbm.dll into
  91. this directory, this is needs to be done and can not be avoided
  92.  
  93.  
  94. ****************************************************************
  95. mbm 5.ini
  96. ****************************************************************
  97.  
  98. This is a clean version of the MBM 5.ini file, if you ever get into troubles then
  99. simply close mbm and copy this OVER the version in the /data directory and you 
  100. can start clean.
  101.  
  102.  
  103. ****************************************************************
  104. uninstall problems.bat
  105. ****************************************************************
  106.  
  107. If your having errors uninstalling which included INSTALL.LOG then 
  108. please run this batch file, it should start the uninstaller without
  109. problems